package com.zxq.uart.controller;


import com.zxq.uart.frame.decoder._29SetCardPowerResult;
import com.zxq.uart.frame.encoder._29SetCardPowerCmd;
import com.zxq.uart.result.ResultVO;
import com.zxq.uart.service.impl.PlatformExchange;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class _29SetCardPowerController extends PlatformExchange<_29SetCardPowerCmd, _29SetCardPowerResult> {


    @Override
    public Integer getCmd() {
        return 0x29;
    }

    @PostMapping("exchange/29")
    @Override
    public ResultVO<_29SetCardPowerResult> exchange(@RequestBody _29SetCardPowerCmd order) {
        return super.exchange(order);
    }

    @Override
    public _29SetCardPowerResult getResult() {
        return new _29SetCardPowerResult();
    }

}
